/*--Google Gonts--*/
@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto:300,400,700);

/*--Original Color--*/
@blue: #1aa1e1;
@red: #E13B1A;
@green: #1AE159;
@darkBlue: hsl(hue(@blue), saturation(@blue), .5);
@black: #4C4C4C;
@lightGray: #F2F2F2;
@white: #FFF;

/*--Variable Color--*/
@globalBg: @lightGray;
@globalColor: @black;

@selectionBg: @darkBlue;
@selectionColor: @white;

@headerBg: @lightGray;
@headerColor: @black;

@menuBorder: rgba(red(@menuBorderActive), green(@menuBorderActive), blue(@menuBorderActive), 0);
@menuBorderActive: @black;
@submenu1Bg: rgba(red(@black), green(@black), blue(@black), .97);
@submenu2Bg: rgba(red(lighten(@submenu1Bg, 10%)), green(lighten(@submenu1Bg, 10%)), blue(lighten(@submenu1Bg, 10%)), alpha(@submenu1Bg));
@submenu3Bg: rgba(red(lighten(@submenu2Bg, 10%)), green(lighten(@submenu2Bg, 10%)), blue(lighten(@submenu2Bg, 10%)), alpha(@submenu2Bg));
@menuColor: @lightGray;
@menuHoverBg: @darkBlue;

@contentTitleColor: @darkBlue;

@footerColor: @black;

@utility: @black;

@linkColor: hsl(hue(@blue), saturation(@blue), .3);
@linkHoverColor: hsl(hue(@blue), saturation(@blue), .65);

@buttonColor: @white;
@buttonBg: @white;
@buttonPriBg: @blue;
@buttonHighlightBg: @green;

/*--Variable--*/
@pageWidth: 660px;

/*--Function--*/
.pageWidthLimit(@limit) {
  max-width: @limit;
  margin: 0 auto;
}

.titleFont(@weight: 400) {
  font-family: 'Roboto', sans-serif;
  font-weight: @weight;
  text-transform: uppercase;
}

.contentFont(@weight: 400) {
  font-family: 'Lato', sans-serif;
  font-weight: @weight;
}

.color(@color) {
  color: @color;
}

.color(@color, @bg) {
  background: @bg;
  color: @color;
}

.input() {
    padding: 0 10px;
    margin: 3px;
    font-size: 13px;
    line-height: 30px;
    outline: 0;
    border-radius: .3em;
}

.transition(@property) {
  -webkit-transition: @property;
  transition: @property;
}

.transition(@property1; @property2) {
  .transition(~"@{property1}, @{property2}");
}

.transition(@property1; @property2; @property3) {
  .transition(~"@{property1}, @{property2}, @{property3}");
}

.transform(@property) {
  -webkit-transform: @property;
  transform: @property;
}

.shadow() {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
  &:before, &:after {
    content: '';
    z-index: -1;
    position: absolute;
    left: 15px;
    bottom: 12px;
    width: 70%;
    max-width: 300px;
    max-height: 100px;
    height: 55%;
    -webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    -webkit-transform: skew(-15deg) rotate(-6deg);
    -moz-transform: skew(-15deg) rotate(-6deg);
    -ms-transform: skew(-15deg) rotate(-6deg);
    -o-transform: skew(-15deg) rotate(-6deg);
    transform: skew(-15deg) rotate(-6deg);
  }
  
  &:after {
    left: auto;
    right: 12px;
    -webkit-transform: skew(15deg) rotate(6deg);
    -moz-transform: skew(15deg) rotate(6deg);
    -ms-transform: skew(15deg) rotate(6deg);
    -o-transform: skew(15deg) rotate(6deg);
    transform: skew(15deg) rotate(6deg);
  }
}
